package com.jic.interaction.hereWeGo.common.exception;

import com.jic.interaction.common.enums.OrderInfoEnums;
import com.jic.interaction.common.exception.AppRuntimeException;
import com.jic.interaction.hereWeGo.common.emuns.OrderStatusEnums;

public class OrderStatusException extends AppRuntimeException {
    @Override
    public void setStatus(String status) {
        super.setStatus(status);
    }

    @Override
    public void setData(Object data) {
        super.setData(data);
    }

    @Override
    public void setMessage(String message) {
        super.setMessage(message);
    }

    @Override
    public void setMoreInfo(String moreInfo) {
        super.setMoreInfo(moreInfo);
    }

    @Override
    public String toString() {
        return super.toString();
    }

    public OrderStatusException(String status,Object... message){
        super(status, message);
    }

    public OrderStatusException(OrderStatusEnums orderInfoEnums) {
        super(orderInfoEnums.getCode(), orderInfoEnums.getMessage());
    }
    public OrderStatusException() {
        super();
    }
}
